.home {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.home>.top {
    height: 50px;
    background-color: #0473CC;
    display: flex;
    align-items: center;
}

.home>.top>input {
    width: 60%;
    padding-left: 10px;
    height: 60%;
}

.home>.top>.left,
.home>.top>.right {
    flex: 1;
    text-align: center;
    line-height: 50px;
}

.home>.content{
    overflow-y: auto;
    flex: 1;
}

.home>.content>.swiper {
    width: 100%;
    height: 200px;
    margin-bottom: 10px;
}

.home>.content>.subject {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.home>.content>.subject>div {
    width: 23%;
    height: 84px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.home>.content>.subject>div>p:nth-child(1) {
    height: 50px;
}

.home>.content>.subject>div>p:nth-child(2) {
    text-align: center;
    line-height: 34px;
}

.home>.content>h2 {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: #198deb;
}

.home>.content>.student {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

/* 伪元素 */
.home>.content>.student::after {
    content: "";
    display: block;
    width: 45%;
    height: 0;
}

.home>.content>.student>div {
    border: 1px solid grey;
    width: 45%;
    margin-top: 10px;
}

.home>.content>.student>div>p:nth-child(1) {
    border-radius: 10px;
    overflow: hidden
}

.home>.content>.student>div>p{
    padding-left: 5px;
}

.home>.footer {
    display: flex;
    justify-content: space-between;
    padding: 5px 20px;
    color: #2d92df;
    border-top: 2px solid #ccc;
    margin-top: 5px;
    height: 50px;
}

.home>.footer>div>p:nth-child(1) {
    width: 30px;
    height: 30px;
}